package com.solution.admin.product.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.solution.admin.product.dao.ProductSpecCompositionDao;
import com.solution.admin.product.entity.ProductSpecCompositionEntity;
import com.solution.admin.product.service.ProductSpecCompositionService;
import com.solution.common.dao.BaseDao;
import com.solution.common.service.impl.BaseServiceImpl;

/**
 * 商品规格值service实现层
 * @author xu_cc
 * @date 2017-08-31 23:48:45
 */
@Service
public class ProductSpecCompositionServiceImpl extends BaseServiceImpl<ProductSpecCompositionEntity> implements ProductSpecCompositionService {

	/**
	 * 商品规格值接口
	 */
	@Autowired
	private ProductSpecCompositionDao productSpecCompositionDao;

	protected BaseDao<ProductSpecCompositionEntity> getDao() {
		return this.productSpecCompositionDao;
	}

	/**
	 * 根据条件查询商品规格值
	 * @param param
	 * @return 数据列表
	 * @author xu_cc
	 * @date 2017-08-31 23:48:45
	 */
	@Override
	public List<ProductSpecCompositionEntity> listProductSpecComposition( Map<String, Object> param){
		return  productSpecCompositionDao.listProductSpecComposition(param);
	}
}
